package pl.enigmatic.parser.string.java.lang;

import pl.enigmatic.parser.string.Converter;


public class DoubleConverter extends Converter.Primitive<Double> {

	@Override
	protected Double convertEmptyString() {
		return 0.0;
	}

	@Override
	protected Double convertNonEmptyString(final String value) {
		return Double.parseDouble(value);
	}

}
